import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import store from '@/.storybook/store';
import TopHeader from '../../ch/sections/TopHeader.vue';

<Meta
  title="Sections/Header/TopHeader"
  component={TopHeader}
/>

export const Template = (args, { argTypes }) => ({
  props: Object.keys(argTypes),
  components: { TopHeader },
  store: store,
  template: '<TopHeader />',
});

# Top Header

<Canvas>
  <Story
    name="Example"
  >
    {Template.bind({})}
  </Story>
</Canvas>

<a href="?path=/story/sections-header-topheader--example">Go to the Canvas Tab</a>

---

<a href="?id=sections-header-topheader--example" target="_blank">Open page in full width in a new tab</a>

